import scrapy


class Test1Spider(scrapy.Spider):
    # 爬虫名
    name = "test1"
    # 允许爬取域名
    allowed_domains = ["httpbin.org"]
    # 爬取起始地址
    start_urls = ["https://httpbin.org/get?name=qiku&age=10"]

    # 解析函数
    def parse(self, response):
        print(f"收到响应{response}")
